package org.siberia.client.service;

import java.util.Date;
import java.util.List;

import org.siberia.client.bean.UserDTO;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("user")
public interface UserService extends RemoteService
{
	UserDTO getUserByName(String name);
	
	void createUser(UserDTO user);
	
	List<UserDTO> findAll();
	
	void deleteAll();
}
